@import "../../assets/style/global";

.login {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100vh;
  background: url(./images/login.png) no-repeat center;
  background-size: cover;
  overflow: hidden;

  &-form {
    text-align: center;
    h3 {
      font-size: 22px;
      color: $grayLight;
      margin-bottom: 20px;
    }
  }

  &-user {
    width: 27vw;
    margin-top: 40px;
    text-align: left;
    color: #AEBCD3;
    label {
      display: block;
      font-size: 14px;
      margin-bottom: 10px;
    }

    &.check {
      display: flex;

      span {
        color: #47AAED;
        margin: -1px 0 0 10px;
      }
      .checkbox {
        position: relative;
        display: inline-block;
        width: 14px;
        height: 14px;
        border: 1px solid #47AAED;
        border-radius: 2px;
        cursor: pointer;

        &.checked::after {
          content: "";
          position: absolute;
          left: 0;
          top: 2px;
          width: 100%;
          height: 50%;
          border: 2px solid #47AAED;
          border-radius: 1px;
          border-top: none;
          border-right: none;
          background: transparent;
          transform: rotate(-45deg);
        }
      }
    }

    &.center {
      text-align: center;
      margin-top: 15px;

      span {
        color: #96a2b5;
      }
    }
    &.tipInfo {
      text-align: center;
      a {
        color: #4bb7ff;
      }
    }
  }

  &-btn {
    width: 27vw;
  }
}
